package com.hfw.system.core;
/**
 * <p>This class holding global variables</p>
 * @author numan
 * @version 1.0
 */
public final class Global {
    
    private static String version;
    private static String codename;
    
    public static final class database{
        private static String host;
        private static String port;
        private static String username;
        private static String password;
        private static String dbname;
        
        public static final String getHost() {
            return host;
        }
        public static final void setHost(String host) {
            database.host = host;
        }
        public static final String getPort() {
            return port;
        }
        public static final void setPort(String port) {
            database.port = port;
        }
        public static final String getUsername() {
            return username;
        }
        public static final void setUsername(String username) {
            database.username = username;
        }
        public static final String getPassword() {
            return password;
        }
        public static final void setPassword(String password) {
            database.password = password;
        }
        public static final String getDbname() {
            return dbname;
        }
        public static final void setDbname(String dbname) {
            database.dbname = dbname;
        }

    }
    
    public static final String getVersion() {
        return version;
    }
    public static final void setVersion(String version) {
        Global.version = version;
    }
    public static final String getCodename() {
        return codename;
    }
    public static final void setCodename(String codename) {
        Global.codename = codename;
    }

}
